<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title><?php echo $title; ?></title>
<link href="css/admin-reset.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/admin-style.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/custom-theme/jquery-ui-1.8.16.custom.css" media="screen" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="css/ie.css" media="screen" rel="stylesheet" type="text/css">
<![endif]-->
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery-tipsy.js"></script>
<script type="text/javascript" src="js/jquery-custom.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>

</head>
<body>
<div class="shadow"></div>
<!-- .shadow -->
<!-- BEGIN HEADER -->
<div id="header">
	<p class="logo"><a href="<?php echo url('admin','index');?>" title="Administrator">Admin Panel</a></p>
	<p class="user">
        <?php if(isset($_SESSION['user'])) {?>
        <span>Xin chào <b><a href="/?mod=admin&act=users-detail&id=<?php echo $_SESSION['users']['idusers'];?>"><?php echo isset($_SESSION['user'])?$_SESSION['user']['users_fullname']:""; ?></b></a></span>
        <?php }?>
        <a href="<?php echo url('default','index'); ?>" title="settings" target="_blank">Xem website</a> - 
        <a href="<?php echo url('admin','logout');?>" title="settings">Thoát</a>
    </p>
</div><!-- end div #header -->
<!-- END HEADER -->